package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("address")
public class AddressDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 收件人 */
    @TableField("receiver")
    private String receiver;
    /** 手机号 */
    @TableField("mobile")
    private String mobile;
    /** 省 */
    @TableField("province")
    private String province;
    /** 市 */
    @TableField("city")
    private String city;
    /** 区/县 */
    @TableField("area")
    private String area;
    /** 详细地址 */
    @TableField("detail")
    private String detail;
    /** 默认地址 0否 1是 */
    @TableField("default_addr")
    private Integer defaultAddr;
}
